﻿using PHMEE.ToolKits;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace PHMEE.Admin
{
    public interface IBearAppService : IApplicationService
    {
        Task<BearFactoryDto> GetBearFactoryByIdAsync(int id);
        Task<PagedResultDto<BearFactoryDto>> GetPagedBearFactoriesAsync(BearFactoryListDto input);
        Task<int> CreateBearFactoryAsync(BearFactoryCreateDto input);
        Task UpdateBearFactoryAsync(BearFactoryUpdateDto input);
        Task DeleteBearFactoryAsync(int id);

        Task<BearLibDto> GetBearLibByIdAsync(Guid id);

        Task<BearLibDto> GetBearLibByModelAsync(string model);

        Task<PagedResultDto<BearLibDto>> GetPagedBearLibsAsync(BearLibListDto input);

        Task<Guid> CreateBearLibAsync(BearLibCreateDto input);

        Task UpdateBearLibAsync(BearLibUpdateDto input);

        Task DeleteBearLibAsync(Guid id);

        Task<byte[]> GenerateBearLibTemplateAsync();

        Task<OperationResult> ImportBearLibsAsync(byte[] bytes, string fileName);

    }
}
